package com.ruoyi.swimming.domian;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 泳池对象 swimming_pool
 * 
 * @author ruoyi
 * @date 2021-07-17
 */
public class SwimmingPool extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 游泳馆id */
    @Excel(name = "游泳馆id")
    private Long natatoriumId;

    /** 主图url */
    @Excel(name = "主图url")
    private String manPicUrl;

    /** 泳池名称 */
    @Excel(name = "泳池名称")
    private String swimPoolName;

    /** 轮播图 */
    @Excel(name = "轮播图")
    private String bannerUrls;

    /** 详情 */
    @Excel(name = "详情")
    private String desc;

    /** 是否删除 */
    @Excel(name = "是否删除")
    @TableLogic
    private Integer isDel;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNatatoriumId(Long natatoriumId) 
    {
        this.natatoriumId = natatoriumId;
    }

    public Long getNatatoriumId() 
    {
        return natatoriumId;
    }
    public void setManPicUrl(String manPicUrl) 
    {
        this.manPicUrl = manPicUrl;
    }

    public String getManPicUrl() 
    {
        return manPicUrl;
    }
    public void setSwimPoolName(String swimPoolName) 
    {
        this.swimPoolName = swimPoolName;
    }

    public String getSwimPoolName() 
    {
        return swimPoolName;
    }
    public void setBannerUrls(String bannerUrls) 
    {
        this.bannerUrls = bannerUrls;
    }

    public String getBannerUrls() 
    {
        return bannerUrls;
    }
    public void setDesc(String desc) 
    {
        this.desc = desc;
    }

    public String getDesc() 
    {
        return desc;
    }
    public void setIsDel(Integer isDel) 
    {
        this.isDel = isDel;
    }

    public Integer getIsDel() 
    {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("natatoriumId", getNatatoriumId())
            .append("manPicUrl", getManPicUrl())
            .append("swimPoolName", getSwimPoolName())
            .append("bannerUrls", getBannerUrls())
            .append("desc", getDesc())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isDel", getIsDel())
            .toString();
    }
}
